package cn.huiyunche.base.service.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName: SOrderFeeDetailVo
 * @Description: 客户订单费用详情
 * @author: Aaron
 * @date: 2016年9月2日 上午9:18:59
 */
public class SOrderFeeDetailVo implements Serializable {

    private static final long serialVersionUID = 6052591582655928058L;

    private Long id;

    //费用编码
    private Integer feeCode;

    //费用名称
    private String feeName;

    //费用金额（原价）
    private BigDecimal cost = BigDecimal.ZERO.setScale(2);

    //实际金额（折扣价）
    private BigDecimal actualAmount = BigDecimal.ZERO.setScale(2);

    //是否打折
    private boolean isDiscount;

    //折扣
    private BigDecimal discount = BigDecimal.ZERO.setScale(2);

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getFeeCode() {
        return feeCode;
    }

    public void setFeeCode(Integer feeCode) {
        this.feeCode = feeCode;
    }

    public String getFeeName() {
        return feeName;
    }

    public void setFeeName(String feeName) {
        this.feeName = feeName;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public boolean getIsDiscount() {
        return isDiscount;
    }

    public void setIsDiscount(boolean isDiscount) {
        this.isDiscount = isDiscount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getActualAmount() {
        return actualAmount;
    }

    public void setActualAmount(BigDecimal actualAmount) {
        this.actualAmount = actualAmount;
    }

    @Override
    public String toString() {
        return "SOrderFeeDetailVo [id=" + id + ", feeCode=" + feeCode + ", feeName=" + feeName + ", cost=" + cost
                + ", actualAmount=" + actualAmount + ", isDiscount=" + isDiscount + ", discount=" + discount + "]";
    }
}
